package com.xbongbong.pro.sharepermission.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 李翔
 * @date 2023/3/16
 * @description
 */
@Getter
@Setter
@ToString
public class ShareFilterConditionDTO extends BaseDTO {
    private static final long serialVersionUID = -3031399135958321362L;
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.common.appId.NotNull}")
    private Long appId;
    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.common.formId.NotNull}")
    private Long formId;
    /**
     * 业务Id
     */
    @NotNull(message = "{dto.msg.common.businessType.NotNull}")
    private Integer businessType;
    /**
     * 应用类型，1为saas应用，2为自建应用
     */
    private Integer saasMark;
}
